@extends('home/common/home_layout')
@section('content')
<hr>
<div id="content" class="clearfix" style="min-height: 105px;">
<div class="main">
<section class="breadcrumb">
<a href="/lin_home_list">首页</a>
<i>&gt;</i>
<span>{{$data['storename']}}</span>
</section>
<section class="basicinfo">
<div class="b-img fl">
<img src="/publics/lilin/home_layout_style/images/{{$data['storepic']}}"  width="198" height="120">
</div>
<div class="b-info fl">
<div class="one-line">
<h2>{{$data['storename']}}</h2>
<span>e行专送</span>
</div>
<div class="all-show">
<h2>{{$data['storename']}}</h2>
<span>e行专送</span>
</div>
<span class=""><img src="/publics/lilin/shop_style/picture/certificated_s.png"></span><dl>
<dt>餐饮</dt>
<dd class="rate-con">
<span class="rate">
<span class="rate-inner" style="width:{{$star[6]*75/5}}px;
background-image: url(/publics/lilin/shop_style/images/common_z_22caf52.png);
background-position: 0px -21px;
display: inline-block;
height: 11px;
vertical-align: top;
background-repeat: no-repeat;
letter-spacing: 0;
"></span>
</span>
{{round($star[6],1)}}分</dd>
</dl>
<dl>
<dt><i class="icon icon-time"></i>接单时间:&nbsp;</dt>
<dd class="bussinessStatus">
<span>{{$data['worktime']}}</span>
<strong class="doing">{{$data['storestatus']}}</strong>
</dd>
</dl>
<dl>
<dt><i class="icon icon-address"></i>商户地址:&nbsp;</dt>
<dd>
{{$data['storeaddress']}}
</dd>
</dl>
<div class="overall">
<h3 class="title">总体评分</h3>
<div class="rate-info">
<div class="rate-num">{{round($star[6],1)}}</div>
<p class="pos">
<span class="rate">
<span class="rate-inner" style="width:{{$star[6]*75/5}}px;
background-image: url(/publics/lilin/shop_style/images/common_z_22caf52.png);
background-position: 0px -21px;
display: inline-block;
height: 11px;
vertical-align: top;
background-repeat: no-repeat;
letter-spacing: 0;
"></span>
</span>
</p>
<p>
<span>共{{$star[0]}}条评价</span>
</p>
</div>
<table class="rate-table">
<tbody><tr>
<td width="30px">5分</td>
<td width="150px">
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[5]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[5]}}人</td>
</tr>
<tr>
<td>4分</td>
<td>
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[4]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[4]}}人</td>
</tr>
<tr>
<td>3分</td>
<td>
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[3]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[3]}}人</td>
</tr>
<tr>
<td>2分</td>
<td>
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[2]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[2]}}人</td>
</tr>
<tr>
<td>1分</td>
<td>
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[1]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[1]}}人</td>
</tr>
</tbody></table>
</div>
</div>
<div class="b-cost fr">
<div class="b-value">¥<strong class="b-num">{{$data['sendprice']}}</strong></div>
<p class="b-label">配送费</p>
</div>
<div class="b-divider fr"></div>
<div class="b-price fr">
<div class="b-value">¥<strong class="b-num">{{$data['upsendprice']}}</strong></div>
<p class="b-label">起送价</p>
</div>
<div class="b-divider fr"></div>
<div class="b-totime fr">
<div class="b-value">
<strong class="b-num">
{{$data['cooktime']}}分钟</strong>
<span class="num-unit"></span>
</div>
<p class="b-label">平均送达时间</p>
</div>
</section>
<div class="main-l">
	<div class="annouce">
		<span class="sound-icon"></span>
		<span>今日下单可选择今日-{{date('m.d',time()+24*3600)}}配送</span>
	</div>
	<section class="menu-tab clearfix">
		<ul>
			<li class="txt"><a href="/lin_home_list/create?id={{$id}}">菜单</a></li>
			<li class="txt lilin"><a href="/lin_home_list/{{$id}}/edit">评价</a></li>
			<li class="txt "><a href="/shopui/shopcertificate?shop_id=1826255164">资质</a></li>
		</ul>
	</section>


	<!-- 菜单分类导航 start-->


<!-- 评论 star-->
<section class="comment-list" id="comment-list">
	<div class="comment-con" data-node="commCon">   
	<!-- 遍历 start  evaluate  -->
	@foreach($evaluate_page as $k=>$v)
		<div class="list clearfix">        
			<div class="top-section">                
				<span class="user-name">1358****858</span>                
				<span class="rate">   

         <!--星的长度 
					15px  为1星
					30px  为2星
					45px  为3星
					60px  为4星
					75px  为5星
           -->

					<span class="rate-inner" style="@if($v['score']==1)
					width:15px;
					@elseif($v['score']==2) width:30px;
					@elseif($v['score']==3) width:45px;
					@elseif($v['score']==4) width:60px;
					@else width:75px;
					@endif
background-image: url(/publics/lilin/shop_style/images/common_z_22caf52.png);
background-position: 0px -21px;
display: inline-block;
height: 11px;
vertical-align: top;
background-repeat: no-repeat;
letter-spacing: 0;
"></span>                
				</span>
				{{$v['score']}}分                
				<span class="delivery-time">                    
				送餐时间：29分钟                
				</span>                
				<span class="fr">{{$v['evaluate_time']}}</span>        
			</div>        
			<div class="mid-section">            
				<p>{{$v['evaluate_content']}}</p>        
			</div>            
		</div>  
		@endforeach  
	<!-- 遍历 end  evaluate  -->
</div>
<style type="text/css">
        

		.navigation {

		margin:auto auto 10px 10px;

		float:left;

		}

		.active span{
		color:#abc123;
		font-size: 20px;
		}

		.wp-paginate {

		padding:0;

		margin:0;

		}

		.wp-paginate li {

		float:left;

		list-style:none;

		margin:2px;

		padding:0;

		}

		.wp-paginate a {

		margin:0 2px;

		line-height:20px;

		text-align:center;

		text-decoration:none;

		border-radius:3px;

		-moz-border-radius:3px;

		float:left;

		min-height:20px;

		min-width:20px;

		color:#858585;

		border:2px #e3e3e3 solid;

		border-radius:13px;

		font-size:11px;

		}

		.wp-paginate a:hover {

		border:2px #858585 solid;

		color:#858585;

		}

		.wp-paginate .title {

		color:#555;

		margin:0;

		margin-right:4px;

		font-size:14px;

		}

		.wp-paginate .gap {

		color:#999;

		margin:0;

		margin-right:4px;

		}

		.wp-paginate .current {

		margin:0 2px;

		line-height:20px;

		text-align:center;

		text-decoration:none;

		border-radius:3px;

		-moz-border-radius:3px;

		float:left;

		font-weight:700;

		min-height:20px;

		min-width:20px;

		color:#262626;

		border:2px #119eda solid;

		border-radius:13px;

		font-size:11px;

		color:#119eda;

		}

		.wp-paginate .page {

		margin:0;

		padding:0;

		}

		.wp-paginate .prev {

		}

		.wp-paginate .next {

		}
</style>

	<div class="navigation" style='margin-left:450px;'>
		<ol class="wp-paginate">
			{!! $evaluate_page->render() !!}
		</ol>
	</div>
</section>
<!-- 评论 end -->
</div>
<div class="side">
	<section class="menu-collect clearfix" id="widget-menu-collect">
		<div class="collect-btn " data-node="collectBtn" from="menu">
			<i></i>
			<span data-node="collectTxt">收藏商户</span>
		</div>
	</section>
	


	<section class="comside">
<div class="overall">
<h3 class="title">总体评分</h3>
<div class="rate-info">
<div class="rate-num">{{round($star[6],1)}}</div>
<p class="pos">
<span class="rate">

<!--星的长度 
					15px  为1星
					30px  为2星
					45px  为3星
					60px  为4星
					75px  为5星
           -->
          
<span class="rate-inner" style="width:{{$star[6]*75/5}}px;
background-image: url(/publics/lilin/shop_style/images/common_z_22caf52.png);
background-position: 0px -21px;
display: inline-block;
height: 11px;
vertical-align: top;
background-repeat: no-repeat;
letter-spacing: 0;
"></span>
</span>
</p>
<p>
<span>共{{$star[0]}}条评价</span>
</p>
</div>
<table class="rate-table">
<tbody><tr>
<td width="30px">5分</td>
<td width="150px">
<span class="pnum">

<!-- 140为满格长度 -->
<span class="pnum-inner" style="width:{{$star[5]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[5]}}人</td>
</tr>
<tr>
<td>4分</td>
<td>
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[4]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[4]}}人</td>
</tr>
<tr>
<td>3分</td>
<td>
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[3]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[3]}}人</td>
</tr>
<tr>
<td>2分</td>
<td>
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[2]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[2]}}人</td>
</tr>
<tr>
<td>1分</td>
<td>
<span class="pnum">
<span class="pnum-inner" style="width:{{$star[1]/$star[0]*140}}px"></span>
</span>
</td>
<td>{{$star[1]}}人</td>
</tr>
</tbody></table>
</div>
</section>
	<!-- <section class="notice-float" style="display:none">
		<p class="warp"></p>
		<h2>商家公告</h2>
		<p class="notice-desc" data-node="shop-notice-2">
			本店欢迎您下单，用餐高峰请提前下单，谢谢！
		</p>
	</section> -->
<div class="map">
	<div id="MapHolder" class="mapHolder" style="display: block; overflow: hidden; position: relative; z-index: 0; background-color: rgb(243, 241, 236); color: rgb(0, 0, 0); text-align: left;">
		<div style="overflow: visible; position: absolute; z-index: 0; left: 0px; top: 0px; cursor: grab;">
			<div class="BMap_mask" style="position: absolute; left: 0px; top: 0px; z-index: 9; overflow: hidden; -moz-user-select: none; width: 0px; height: 0px;">
			</div>
			<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 200;">
				<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 800;">
				</div>
				<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 700;">
					<span class="BMap_Marker BMap_noprint" unselectable="on" "="" style="position: absolute; padding: 0px; margin: 0px; border: 0px none; -moz-user-select: none; cursor: pointer; background: rgba(0, 0, 0, 0) url(&quot;https://api.map.baidu.com/images/blank.gif&quot;) repeat scroll 0% 0%; width: 26px; height: 26px; left: -13px; top: -13px; z-index: -7985996;" title="">
					</span>
				</div>
				<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 600;">
				</div>
				<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 500;">
				</div>
				<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 400;">
					<span class="BMap_Marker" unselectable="on" style="position: absolute; padding: 0px; margin: 0px; border: 0px none; width: 0px; height: 0px; -moz-user-select: none; left: -13px; top: -13px; z-index: -7985996;">
						<div style="position: absolute; margin: 0px; padding: 0px; width: 26px; height: 26px; overflow: hidden;">
							<img src="https://static.waimai.baidu.com/static/waimai/widget/common/menucommon/map/target_ca22be3.png" style="display: block; border:none;margin-left:0px; margin-top:0px; ">
						</div>
					</span>
				</div>
				<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 300;">
				</div>
				<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 201;">
				</div>
				<div style="position: absolute; height: 0px; width: 0px; left: 0px; top: 0px; z-index: 200;">
				</div>
			</div>
			<div style="position: absolute; overflow: visible; top: 0px; left: 0px; z-index: 1;">
				<div style="position: absolute; overflow: visible; z-index: -100; left: 0px; top: 0px; display: block; transform: translate3d(0px, 0px, 0px);">
					<img style="-moz-user-select: none; position: absolute; border: medium none; width: 256px; height: 256px; left: -199px; top: -136px; max-width: none; opacity: 1;" src="https://gss0.bdstatic.com/8bo_dTSlRsgBo1vgoIiO_jowehsv/tile/?qt=tile&amp;x=6326&amp;y=2357&amp;z=15&amp;styles=pl&amp;scaler=1&amp;udt=20170818">
				</div>
			</div>
			<div style="position: absolute; overflow: visible; top: 0px; left: 0px; z-index: 2; display: none;">
				<div style="position: absolute; overflow: visible; top: 0px; left: 0px; z-index: 0; display: none;">
				</div>
			</div>
			<div style="position: absolute; overflow: visible; top: 0px; left: 0px; z-index: 3;">
			</div>
		</div>
		<div class="pano_close" style="z-index: 1201; display: none;" title="退出全景">
		</div>
		<a class="pano_pc_indoor_exit" style="z-index: 1201; display: none;" title="退出室内景">
			<span style="float:right;margin-right:12px;">出口</span>
		</a>
		<div style="height: 32px; position: absolute; z-index: 30; -moz-user-select: none; -moz-text-size-adjust: none; bottom: 20px; right: auto; top: auto; left: 1px; display: none;" class=" anchorBL">
		<a title="到百度地图查看此区域" target="_blank" href="http://map.baidu.com/?sr=1" style="outline: medium none;">
			<img style="border:none;width:77px;height:32px" src="https://api.map.baidu.com/images/copyright_logo.png">
		</a>
	</div>
	<div id="zoomer" style="position:absolute;z-index:0;top:0px;left:0px;overflow:hidden;visibility:hidden;cursor:-moz-grab">
		<div class="BMap_zoomer" style="top:0;left:0;">
		</div>
		<div class="BMap_zoomer" style="top:0;right:0;"></div><div class="BMap_zoomer" style="bottom:0;left:0;">
		</div>
		<div class="BMap_zoomer" style="bottom:0;right:0;">
		</div>
	</div>
	<div unselectable="on" class=" BMap_cpyCtrl BMap_noprint anchorBL" style="cursor: default; white-space: nowrap; -moz-user-select: none; color: black; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%; font: 11px/15px arial,simsun,sans-serif; bottom: 2px; right: auto; top: auto; left: 4px; position: absolute; z-index: 10; -moz-text-size-adjust: none;">
	<span _cid="1">
		<span style="background: rgba(255, 255, 255, 0.701961);padding: 0px 1px;line-height: 16px;display: inline;height: 16px;">©&nbsp;2017 Baidu - GS(2016)2089号&nbsp;- Data © 长地万方
		</span>
	</span>
</div>
</div>
<div id="mapLoading" style="display: none;"><img src="/publics/lilin/shop_style/picture/loading_50c5e3e.gif"></div>
</div>

<section id="fill_diff-section" state="non-trigger" style="left: 845.5px;">
<div id="fill_diff_bear" status="left"></div>
<div id="fill_diff_table"></div>
</section>
<section class="cart-section cart-fix" id="cart-section">
<div class="menu-cart menu-cart-box-shadow">
<div class="cc-warp hide">
<div class="title">
<span class="txt">购物车</span>
<span class="clear-cart">清空</span>
</div>
<div class="cart-panel" style="max-height: 237px;">
<table>
<thead class="cart-head">
<tr>
<td class="item-name">菜品</td>
<td class="item-count">份数</td>
<td class="item-price">单价</td>
<td class="item-delete"></td>
</tr>
</thead>
<tbody class="item-list" data-node="item-list">
</tbody>
</table>
</div>
<div class="tip-bar">
<span>优惠活动手机App专享，网页下单不再享受</span>
</div>
</div>
<div class="cart-bar">
<span class="cart-logo fl"></span>
<span class="cart-desc " id="cartIsEmpty">购物车是空的</span>
<span class="cart-desc fl" id="cartAmout" style="display: none;">共&nbsp;¥0.00 元</span>
<span class="cart-desc cart-cha fr" id="cartCha" style="display: none;">还差¥5元起送</span>
<span class="cart-desc submit fr" id="cartSubmit" style="display: none;">选好了</span>
</div>
</div>
</section>
</div>
<div class="backtop-section" id="backtop-section">
<div class="appdown" data-node="appdown">
<a id="backTop" class="back-top-action v-hide" href="javascript:;"></a>
<i data-node="appdown-img" class="appdown-img" usemap="#planetmap" style="display:block;"></i>
<a id="feedback" class="feedback" href="javascript:;"></a>
<map name="planetmap" id="planetmap">
<area shape="rect" coords="88,35,100,45" id="appdownClose" href="javascript:;">
</map>
</div>
</div>
</div>
<!--[if IE]>
<style type="text/css">
/*widget.cart*/
.cart .cart-panel .item-list .item .item-count .item-count, 
.cart .cart-panel .collect .item .item-count .item-count {
    line-height: 20px;
}
.cart .cart-panel .item-list .item .item-count .item-minus, 
.cart .cart-panel .collect .item .item-count .item-minus, 
.cart .cart-panel .item-list .item .item-count .item-plus, 
.cart .cart-panel .collect .item .item-count .item-plus {
    line-height: 18px;
}
</style>
<![endif]-->
<!--[if lt IE 10]>
<style type="text/css">
/*widget.filter*/
.menu-filter-fix .menu-filter-fix-filter .menuList.menu-open .caret {
    border-style: dashed;
    border-width: 5px;
    border-top-width: 0;
    border-bottom-style: solid;
    border-bottom-color: #333;
}
</style>
<![endif]-->

<input id="bdstoken" name="bdstoken" value="5ffe1e1101edcc65b9f9bf5bd716c0c4" type="hidden">
<input id="bindstoken" name="bindstoken" value="" type="hidden">
</div>
@endsection





